# Contributor:
# Maintainer:
pkgname=py3-wtf-peewee
_pkgname=wtf-peewee
pkgver=3.0.4
pkgrel=0
pkgdesc="WTForms integration for peewee"
url="https://github.com/coleifer/wtf-peewee"
arch="noarch"
license="MIT"
depends="py3-peewee py3-wtforms py3-markupsafe"
makedepends="py3-setuptools"
options="!check" # broken tests
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir"/$_pkgname-$pkgver

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
bb62ad40b44f674892c5df0e3b4d8fb3be8ee11e76b9c2661cf9938a9208e2ce276f723011b066b75c15de1de3e7b73b65408881a69835686d8e6f42519d4975  wtf-peewee-3.0.4.tar.gz
"
